package dto

type RegisterReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	Mobile   string `form:"mobile" json:"mobile"  binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
}
type RegisterResp struct {
	Token string `json:"token"`
}
type LoginReq struct {
	// binding:"required"修饰的字段，若接收为空值，则报错，是必须字段
	Mobile   string `form:"mobile" json:"mobile"  binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
}

type LoginResp struct {
	Token string `json:"token"`
}
